<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="<%=path%>/style/idea/addIdea.css">
	
	<script type="text/javascript" src="<%=path%>/common/md5.js"></script>
	<script type="text/javascript" src="<%=path%>/common/jquery-1.4.1.js"></script>
  
  	<script type="text/javascript">
  		var APP_PATH = '<%=path%>';
  	</script>
  	</head>
  <body>
  	<div id="mainConten">
	    Title:<input type="text" id="title" size="100" class="shadow" />
	    <br/>
	    share your idea here:<br/>
	    <textarea id="ideaContent" rows="20" cols="95" class="shadow"></textarea>
	    <br/>
	    <div id="operDIV">
	    	<div id="insertFun" class="icon" title="insertFun" onclick="javascript:document.getElementById('uploadFun').click();">
	    		<input id="uploadFun" type="file" style="display: none;">
	    	</div>
	    	<div id="insertImg" class="icon" title="insertImg" onclick="javascript:document.getElementById('uploadImg').click();">
	    		<input id="uploadImg" type="file" style="display: none;">
	    	</div>
	    	<div id="insertSound" class="icon" title="insertSound" onclick="javascript:document.getElementById('uploadSound').click();">
	    		<input id="uploadSound" type="file" style="display: none;">
	    	</div>
	    	<br/>
	    </div>
	    <br/>
	    Label:<input type="text" id="label" size="100" class="shadow">
	    <br/>
	    <input id="submit" type="button" value="Share"/>
  	</div>
  </body>
</html>
